/**
 * 
 */
package com.fox.webapp.persistent;

import java.util.List;

import org.bson.types.ObjectId;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.fox.webapp.domain.Broker;
import com.fox.webapp.domain.Policy;
import com.fox.webapp.persistent.custom.PolicyRepositoryCustom;

/**
 * @author yockii
 *
 */
public interface PolicyRepository extends PagingAndSortingRepository<Policy, ObjectId>, PolicyRepositoryCustom {

	List<Policy> findByBroker(Broker broker);

}
